<html manifest="IGNORE.manifest" lang="zh-CN" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"><!DOCTYPE html>
<html manifest="IGNORE.manifest" lang="en">
<head>
	<meta charset="UTF-8">
	<title>发设计需求单->到设计师</title>
    <link rel="stylesheet" type="text/css" href="../css/reset.css" th:href="@{${uiPath} + ${appName} + '/css/reset.css'}"/>
    <link rel="stylesheet" type="text/css" href="../css/wrr.css" th:href="@{${uiPath} + ${appName} + '/css/wrr.css'}" />
</head>
<body>
<div class="zong">
	<div class="toubu">
     <a href="XiangQingYe.html"><img class="fanhui" src="../images/raw_1503386635.png" alt="" th:src="@{${uiPath} + ${appName} + '/images/raw_1503386635.png'}"></a>
      <p class="biaoti" th:text="'选择案例-'+${configStyle.configStyle}"> 选择案例-简约类</p>
     </div> 
      <div class="topkuai"></div>
      <div class="anlilist">
        <ul>
          <li class="anlilizhongxin" th:each="data:${result}" >
              <p class="xiaomixzi" th:text="${data.title}">名称xxxx</p>
              <p class="anniu" th:data="${data.id}">选择</p>

              <img class="anliimg" src="../images/raw_1503973402.jpeg" alt="" th:src="${data.imgUrl}" >
              <img class="anliimg" src="../images/raw_1503973402.jpeg" alt="" th:src="${data.imgUrl2}" >

              <p class="chakananlitu">点击查看</p>
          </li>
        </ul>
      </div>
</div>
<script type="text/javascript" src="../js/jquery.min.js" th:src="@{${uiPath} + ${appName} + '/js/jquery.min.js'}"></script>
<script type="text/javascript" src="../js/flexible.js" th:src="@{${uiPath} + ${appName} + '/js/flexible.js'}"></script>

<script type="text/javascript" src="../js/gz.js" th:src="@{${uiPath} + ${appName} + '/js/gz.js'}"></script>
<script>
    $('.anniu').click(function () {
        $.ajax({
            url:"/ownerDemand/designerIndex/saveStyle",
            dataType:"json",
            type:'post',
            data:{"id":$(this).attr('data')},
            success:function (result) {
                if(result.code=1){
                    window.location.href="/ownerDemand/ownerSaveDesigner";
                }
            }
        })
    })
    </script>
</body>
</html>